# -*-coding:utf-8-*-
pdf_txt = '../../data/chp5/en-final-table9.txt'
openfile = open(pdf_txt, 'r')

country_line = False
for line in openfile:
    if country_line:
        print '%r' % line # 打印出该行的 Python 表示
    if line.startswith('and areas'):
        country_line = True
    elif country_line:
        if line == '\n':
            country_line = False
